<html>
<head><meta charset="utf-8"><title>couldn&#x27;t load codegen backend · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/couldn&#x27;t.20load.20codegen.20backend.html">couldn&#x27;t load codegen backend</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="167724431"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/couldn%27t%20load%20codegen%20backend/near/167724431" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ji Wong Park <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/couldn&#x27;t.20load.20codegen.20backend.html#167724431">(Jun 10 2019 at 00:42)</a>:</h4>
<p><a href="https://www.reddit.com/r/rust/comments/bypk8x/couldnt_load_codegen_backend/" target="_blank" title="https://www.reddit.com/r/rust/comments/bypk8x/couldnt_load_codegen_backend/">https://www.reddit.com/r/rust/comments/bypk8x/couldnt_load_codegen_backend/</a><br>
<a href="https://github.com/rust-lang/rust/issues/61561" target="_blank" title="https://github.com/rust-lang/rust/issues/61561">https://github.com/rust-lang/rust/issues/61561</a></p>
<p>hi, i want to debug, where to start?</p>
<p>$ ./x.py build --stage 1 src/libstd</p>
<p>...</p>
<p>Compiling core v0.0.0 (C:\msys64\work\rust\src\libcore)error: couldn't load codegen backend "C:\\msys64\\work\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\codegen-backends\\rustc_codegen_llvm-llvm.dll": "The specified procedure could not be found. (os error 127)"error: Could not compile \core<code>.</code></p>



<a name="167729180"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/couldn%27t%20load%20codegen%20backend/near/167729180" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ji Wong Park <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/couldn&#x27;t.20load.20codegen.20backend.html#167729180">(Jun 10 2019 at 02:58)</a>:</h4>
<p>$ ldd C:\\msys64\\work\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\codegen-backends\\rustc_codegen_llvm-llvm.dll</p>
<div class="codehilite"><pre><span></span>    ntdll.dll =&amp;gt; /c/Windows/SYSTEM32/ntdll.dll (0x77ba0000)
    kernel32.dll =&amp;gt; /c/Windows/system32/kernel32.dll (0x77a80000)
    KERNELBASE.dll =&amp;gt; /c/Windows/system32/KERNELBASE.dll (0x7fefdc30000)
    ??? =&amp;gt; ??? (0x70c80000)
    ??? =&amp;gt; ??? (0x7fefdd40000)
    ??? =&amp;gt; ??? (0x7fefe1f0000)
    ??? =&amp;gt; ??? (0x7feffe90000)
    ??? =&amp;gt; ??? (0x7feff950000)
    ??? =&amp;gt; ??? (0x7fefe560000)
    ??? =&amp;gt; ??? (0x7fefde90000)
    ??? =&amp;gt; ??? (0x77980000)
    ??? =&amp;gt; ??? (0x7feffbb0000)
    ??? =&amp;gt; ??? (0x7feffae0000)
    ??? =&amp;gt; ??? (0x7fefe9d0000)
    ??? =&amp;gt; ??? (0x7fefe160000)
    ??? =&amp;gt; ??? (0x61440000)
    ??? =&amp;gt; ??? (0x64940000)
    ??? =&amp;gt; ??? (0x6fc40000)
</pre></div>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>